<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
      
       #id1{
          color: orange;
       }

       .content
       {
         color: aqua;
       }
       
    </style>
</head>
<body>
    <div class="content" id="id1">
       
        <span>我是div元素</span>
        <span>我是div2元素</span>
        <a href="www.badu.com">百度一下</a>
        <a href="www.ali.com">阿里一下</a>

    </div>
</body>
</html>